export default [
  {
    url: '/course/mine',
    type: 'get',
    response: (config) => {
      console.log(config)
      return {
        code: 20000,
        data: [
          {
            id: 1,
            weekday: 2,
            startNum: 1,
            endNum: 2,
            courseName: 'C#',
            clazzNames: [
              '软工1810', '软工1809'
            ],
            room: '软件楼119',
            status: 'approve'
          },
          {
            id: 2,
            weekday: 2,
            startNum: 3,
            endNum: 4,
            courseName: 'C#',
            clazzNames: [
              '信安172', '信安173'
            ],
            room: '软件楼119',
            status: 'approve'
          },
          {
            id: 3,
            weekday: 4,
            startNum: 6,
            endNum: 7,
            courseName: 'C#',
            clazzNames: [
              '软工1810', '软工1809'
            ],
            room: '图书馆302',
            status: 'wait'

          },
          {
            id: 4,
            weekday: 4,
            startNum: 8,
            endNum: 9,
            courseName: 'C#',
            clazzNames: [
              '信安172', '信安173'
            ],
            room: '图书馆302',
            status: 'reject'
          }
        ]
      }
    }
  },
  {
    url: '/course/',
    type: 'get',
    response: () => {
      return {
        code: 20000,
        data: [
          {
            id: 1,
            name: '软件学院',
            majors: [
              {
                id: 1,
                name: '软件工程',
                subjects: [
                  {
                    id: 1,
                    name: '高等数学'
                  },
                  {
                    id: 2,
                    name: '离散数学',
                  },
                  {
                    id: 3,
                    name: 'C语言程序设计'
                  }
                ]
              }
            ]
          }
        ]
      }
    }
  }
]
